package com.ojoin.trade.supplyloan_core.web.service;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlProcessInfo;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlProcessInfoVO;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 16-4-6
 * Time: 下午3:46
 * To change this template use File | Settings | File Templates.
 */
public interface TbSlProcessInfoService extends BaseService<TbSlProcessInfo> {

    public List<TbSlProcessInfoVO> queryNotTbSlProcessInfo() throws BusinessException;

    public void updateTbSlProcessInfo(Map<String,Object> map)throws BusinessException;

    public List<TbSlProcessInfoVO> queryTbSlProcessInfoVo(Pageable page,Integer joinid)throws BusinessException;

    public void lockById(int id) throws BusinessException;

    public TbSlProcessInfoVO queryLoanInfoVoByProcess(Integer id) throws BusinessException;

    public void cancelCredit() throws BusinessException;

    public TbSlProcessInfoVO queryMobileByProcessid(Integer processinfo) throws BusinessException;

}